from distutils.core import setup
from distutils.extension import Extension

import numpy

from Cython.Distutils import build_ext
cmdclass    = {'build_ext': build_ext}

include_dirs = [numpy.get_include()]
modules = [
 		Extension('bourbon.job', ['bourbon/job.pyx'], include_dirs=include_dirs),
 		Extension('bourbon.jobs.simulation', ['bourbon/jobs/simulation.pyx'], include_dirs=include_dirs)	
]

setup(
  	name = 'Bourbon',
	version = '0.1',
	author = 'Troy Ruths',
	author_email= 'troyruths@rice.edu',
	packages=['bourbon', 'bourbon.jobs'],
	package_data = {	'bourbon' : ['*.pxd'],
						'bourbon.jobs' : ['*.pxd']
					},
  	ext_modules = modules,
	cmdclass = cmdclass,
	scripts = ['scripts/bourbon']
)


